package com.example.demo.customer;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.Arrays;
import java.util.List;
//@Repository(value = "fake")
public class CustomerFakeRepository implements  CustomerRepo{
    @Override
    public List<Customer> getCustomers() {
        return Arrays.asList(
               new Customer(1L,"范江北", "password") ,
                new Customer(2L,"范江北","password22")
        ) ;

    }
}
